﻿<%@ Page Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="AddScholarShip.aspx.cs" Inherits="WebApplication1.AddScholarShip" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table>
<tr>
<td></td>
<td></td>
<td>
    <asp:Label ID="lblAddScholarship" runat="server" Font-Bold="True" 
        Font-Size="Small" ForeColor="#CC0000"></asp:Label>
    </td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Label ID="Label6" runat="server" Text="Title"></asp:Label>
</td>
<td>
    <asp:TextBox ID="txtScholarshipTitle" runat="server" style="margin-left: 7px" 
    Width="365px" Height="24px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Label ID="Label7" runat="server" Text="Description"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtScholrshipDescription" runat="server" style="margin-left: 8px" 
    TextMode="MultiLine" Width="368px" Height="74px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
</td>
<td>
 <asp:Label ID="Label8" runat="server" Text="Offered By"></asp:Label>
</td>
<td>
    <asp:DropDownList ID="ddlScholarshipOfferedBy" runat="server">
    </asp:DropDownList>
</td>
</tr>
<tr>
<td>
</td>
<td>
 <asp:Label ID="Label11" runat="server" Text="In Memorial Of"></asp:Label>
</td>
<td>
 <asp:TextBox ID="txtScholrshipInMemorialOf" runat="server" style="margin-left: 9px" 
    Width="205px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Label ID="Label9" runat="server" Text="Condtions"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtScholrshipCondition" runat="server" style="margin-left: 10px" 
    TextMode="MultiLine" Width="368px" Height="62px"></asp:TextBox>
</td>
</tr>
<tr>
<td>
</td>
<td>
 <asp:Label ID="Label1" runat="server" Text="Capital Amount"></asp:Label>
</td>
<td>
 <asp:TextBox ID="txtScholarCapital" runat="server" style="margin-left: 9px" 
    Width="205px"></asp:TextBox>
    <asp:CompareValidator ID="cvScholarValue0" runat="server" 
        ControlToValidate="txtScholarCapital" 
        ErrorMessage="This Should be an numeric value" 
        ondatabinding="btnScholarshipSubmit_Click" Operator="DataTypeCheck" 
        Type="Double"></asp:CompareValidator>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Label ID="Label10" runat="server" Text="Amount Per Slot"></asp:Label>
</td>
<td>
<asp:TextBox ID="txtScholarshipValue" runat="server" style="margin-left: 9px"></asp:TextBox>
    <asp:CompareValidator ID="cvScholarValue" runat="server" 
        ControlToValidate="txtScholarshipValue" 
        ErrorMessage="This Should be an numeric value" 
        ondatabinding="btnScholarshipSubmit_Click" Operator="DataTypeCheck" 
        Type="Double"></asp:CompareValidator>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
 <asp:Button ID="btnScholarshipSubmit" runat="server" style="margin-left: 86px" 
    Text="Submit" onclick="btnScholarshipSubmit_Click" />
</td>
<td>
<asp:Button ID="btnScholarshipCancel" runat="server" style="margin-left: 77px" 
    Text="Cancel" />
</td>
</tr>
</table>
</asp:Content>
